<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  <head>
    <?php include_http_metas() ?>
    <?php include_metas() ?>
    <?php include_title() ?>
    <link rel="shortcut icon" href="/images/favicon.ico" />
    <?php include_stylesheets() ?>
    <?php include_javascripts() ?>
    <script type="text/javascript" src="/js/jquery-1.7.1.min.js"></script>
    <script type="text/javascript" src="/js/jquery.validate.js"></script>
    <script type="text/javascript" src="/js/jquery.betterTooltip.js"></script>
    <script type="text/javascript">
		$(document).ready(function(){
      $("#commentForm").validate();
			$('.tTip').betterTooltip({speed: 150, delay: 300});
		});
    </script>
    <script type="text/javascript">var _siteRoot='index.html',_root='index.html';</script>
    <script type="text/javascript" src="/js/scripts.js"></script>
  </head>
  <?php 
    function get_date_month_now() {
	  date_default_timezone_set("Asia/Ho_Chi_Minh");
      $thu = date("l");
      switch ($thu) 
      {
        case "Monday":
          $thu = "Thứ Hai"; break;
        case "Tuesday":
          $thu = "Thứ Ba";  break;
        case "Wednesday":
          $thu = "Thứ Tư";  break;
        case "Thursday":
          $thu = "Thứ Năm"; break;
        case "Friday":
          $thu = "Thứ Sáu"; break;
        case "Saturday":
          $thu = "Thứ Bảy"; break;
        case "Sunday": 
          $thu = "Chủ Nhật"; break;
        default: break;
      }
      $now = $thu.", ".date("H:i:s")."&nbsp;&nbsp;".date("d/m/Y");

      return $now;
    }
    function convert_to_hour_day() {
      $date = $news->getCreatedAt();
      $arr = explode(' ', $date);
      if (is_array($arr)) {
        $hour = $arr[1];
        $items = explode('-', $arr[0]);
        if (is_array($items)) 
          $day = $items[2].'/'.$items[1].'/'.$items[0];
      }
      return @$hour.' | '.@$day;
    }
 ?>
  <body>
    <div id="page-background">
      <?php /*
      <div id="">
        <div id="top-content">
          <div class="content">
            <h1> www.aim.com - Andoird & iphone mobile </h1>
          </div> <!-- end #content -->
        </div> <!-- end #top-content -->
      </div> */ ?>
      <div>
      <div id="page">
          <div id="page-header">
              <a name="top"></a>
              <div id="header">
                <!-- <img src="/images/header.png"> -->
                <?php /*
                <div class="floatleft">
                  <div class="logo">
                  </div>
                </div> <!-- end #floatleft -->
                <div class="floatright">
                </div> <!-- end #floatright -->
                */ ?>
              </div>
          </div> <!-- end #page-header -->
          
          <div class="lay-clear"> </div>
		  
        <div id="page-nav">
          <ul id="nav"> 
            <li><a href="<?php echo url_for('product/index') ?>" class="captial">Trang chủ</a></li> 
            <li><a href="<?php echo url_for('product/index') ?>" class="captial">Sản phẩm</a></li> 
            <li><a href="<?php echo url_for('product/index') ?>" class="captial">Khuyến mại</a></li> 
            <li><a href="<?php echo url_for('product/index') ?>" class="captial">Phần mềm</a></li> 
            <li><a href="<?php echo url_for('product/index') ?>" class="captial">Hàng thanh lý</a></li> 
            <li><a href="<?php echo url_for('product/index') ?>" class="captial">Giới thiệu</a></li> 
            <!--
            <li><a href="#">CẨM NANG</a> 
              <ul> 
                <li><a href="#">Tư vấn luật</a></li> 
                <li><a href="#">Lời khuyên cho người bán</a></li> 
                <li><a href="#">Lời khuyên cho người mua</a></li> 
              </ul> 
           </li>
              -->
           <li><a href="<?php echo url_for('news/index') ?>" class="captial">Tin tức</a></li> 
           <li><a href="#" class="captial">Liên hệ</a></li> 
          </ul> <!-- end #nav -->
        </div> <!-- end #page-nav -->
    
  <div id="slideshow"><div class="wrap">
   <div id="slide-holder">
    <div id="slide-runner">
        <a href=""><img id="slide-img-1" src="/images/GalaxySII.jpg" class="slide" alt="" /></a>
        <a href=""><img id="slide-img-2" src="/images/Galaxy-S.png" class="slide" alt="" /></a>
        <a href=""><img id="slide-img-3" src="/images/overview_hero1.jpg" class="slide" alt="" /></a>
        <a href=""><img id="slide-img-4" src="/images/overview_hero2.jpg" class="slide" alt="" /></a>
        <a href=""><img id="slide-img-5" src="/images/overview_hero3.jpg" class="slide" alt="" /></a>
        <a href=""><img id="slide-img-6" src="/images/overview_hero4.jpg" class="slide" alt="" /></a>
      <a href=""><img id="slide-img-7" src="/images/overview_hero5.jpg" class="slide" alt="" /></a> 
        <div id="slide-controls">
         <p id="slide-client" class="text"><strong>post: </strong><span></span></p>
         <p id="slide-desc" class="text"></p>
         <p id="slide-nav"></p>
        </div>
    </div>	
	<!--content featured gallery here -->
   </div>
   <script type="text/javascript">
    if(!window.slider) var slider={};slider.data=[{"id":"slide-img-1","client":"nature beauty","desc":"nature beauty photography"},{"id":"slide-img-2","client":"nature beauty","desc":"add your description here"},{"id":"slide-img-3","client":"nature beauty","desc":"add your description here"},{"id":"slide-img-4","client":"nature beauty","desc":"add your description here"},{"id":"slide-img-5","client":"nature beauty","desc":"add your description here"},{"id":"slide-img-6","client":"nature beauty","desc":"add your description here"},{"id":"slide-img-7","client":"nature beauty","desc":"add your description here"}];
   </script>
  </div></div>
        
      <!--
      <div class="NoPrint">
        <div class="breadcrumbs">
          <a href="http://aim.vn">Trang chủ</a><span>&gt;</span>
        </div>
      </div> -->
      
      <?php /*
      <div id="top-search">
        <div class="search-top home-search-top">
          <div style="text-align: center;" id="search">
            <div style="text-align: center;" id="left-search" class="search">
                <form method="post" action="/Search/Index" onsubmit="return validateKw('txtKeyword','true')" id="frmTopSearch">
                <ul>
                    <li><span class="sTitle">
                        Tìm kiếm theo cụm từ</span></li>
                    <li>
                        <input type="text" value="" class="search-textbox" name="txtKeyword" id="txtKeyword"></li>
                    <li>
                        <select style="width:120px;" name="cboTypeSearch" id="cboTypeSearch" class="search-combobox"><option value="1">Nhà đất bán</option>
                          <option value="2">Nhà đất cho thuê</option>
                          <option value="4">Tin tức</option>
                        </select>
                    </li>
                    <li>
                        <input type="submit" class="fg-button fg-button-bg-default fg-button-toggleable ui-corner-all" value="Tìm kiếm" id="btnTopSearch">
                    </li>
                </ul>
                </form>
            </div>
          </div>
          <input type="hidden" value="" id="hdSearchIn">
          <input type="hidden" value="home" id="hdControler">
        </div>
        <div><?php echo get_date_month_now() ?></div>
      </div>
      */ ?>
      
      <div class="lay-clear"> </div>
      <!-- CONTENT -->
      
      <?php echo $sf_content; ?>
      <?php /*
      <div id="content-no-left">
        <div id="content-primary">
          <?php echo $sf_content ?>
        </div>
        <div id="content-right">
          <div id="product-list">
            <div class="title-list">
              Sản phẩm hot
            </div>
              <?php var_dump($aim_products); ?>
              <?php foreach ($aim_products as $product): ?>
                <img src="<?php $product->getThumbnail(); ?>"/>
                <h2><?php $product->getName(); ?>
              <?php endforeach; ?> 
          </div>
        </div>
      </div> <!-- end #content-no-left-->
      */ ?>   
         
      <div class="lay-clear"> </div>
      <div id="Intro" class='clear'>
        <div>
          <div id="Bds-Intro">
            <div class="bds-title">
              <h2>Mua bán điện thoại iphone và điện thoại android</h2>
            </div>
            <div class="bds-content">
              aim.com
            </div>
          </div> <!-- #Bds-Intro -->
        </div>
      </div> <!-- end #Intro -->
      
      <div class="lay-clear"> </div>
      
      <div id="footer">
        <div class="fqlink">
          <ul>
            <li><a href=#>Trang chủ</a> |</li>
            <li><a href=#>Sản phẩm</a> |</li>
            <li><a href=#>Tin tức</a> |</li>
            <li><a href=#>Liên hệ</a> |</li>
          </ul>
        </div>
        <div class="dashline">&nbsp;</div>
        <div class="fContact" style="display: none"></div>
        <div class="lay-clear"></div>
        
        <div class="newfooter">
          <div class="bds">Copyright &copy; 2011 aim.com
          &reg; Ghi rõ nguồn "aim.com" khi phát hành lại thông tin từ website này.</div>
          <div class="nl">
            <div class="nleft">Công ty AIM </div> 
            <div class="nleft">- Tel: 01698. 698. 698 </div>
            <div class="nright">&nbsp;</div>
          </div>
          <div class="nl">
            <div class="nleft">Hà Nội </div> 
            <div class="nleft">- Tel: 01698. 698. 698 </div>
            <div class="nright">&nbsp;</div>
          </div>
          <div class="nl">
            <div class="nleft">Design &amp; Code by Hindua88</div> 
            <div class="nleft">- Mail: dinhmanhdau@gmail.com</div>
            <div class="nright">
              <div class="sethome"><a onclick="setHomepage()" class="icon" href="">&nbsp;</a></div>
            </div>
          </div>
          <div class="nl">        
            <div class="nleft">&nbsp;</div><div class="nleft">&nbsp;</div>
            <div class="nright">
              <div class="gotop"><a onclick="" href="#top">Lên đầu trang</a>&nbsp;<span class="icon harr">&nbsp;</span></div>
            </div>
          </div>
          <div class="lay-clear"></div>
        </div>
      </div> <!-- end #footer -->
      
        </div> <!-- end #page -->
      </div>
	  
    </div> <!-- end #page-background -->
  </body>
</html>
